package com.yonyou.mybatis.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    private Integer id;

    private String lastName;
    private String email;
    private char gender;
    private Department dept;

    public Employee(Integer id, String lastName, String email, char gender) {
        this.id = id;
        this.lastName = lastName;
        this.email = email;
        this.gender = gender;
    }
}
